home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
638
< prev
next >
Wrap
Internet Message Format
|
1996-08-06
|
784b
Path: hubcap.clemson.edu!hubcap!mjs
From: mjs@hubcap.clemson.edu (M. J. Saltzman)
Newsgroups: comp.std.c
Subject: Re: Restrictions on qsort compare function?
Date: 21 Mar 96 16:12:07 GMT
Organization: Clemson University
Message-ID: <mjs.827424727@hubcap>
References: <4iokop$h4p@lyra.csx.cam.ac.uk> <mjs.827419998@hubcap>
NNTP-Posting-Host: hubcap.clemson.edu
X-Newsreader: NN version 6.5.0 #1
I wrote:
> It would surprise me not at all if qsort() relied on
^^^^^^^^^
>sort_func() having the property that
> !!sort_func(p1, p2) == -1 * !!sort_func(p2, p1)
Of course, in comp.std.c, I should have said "...were permitted to rely on..."
--
Matthew Saltzman
Clemson University Math Sciences
mjs@clemson.edu